public class Circle {
    private double radius;

    public Circle(double radius) {
        this.radius = radius;
    }

    public double getCircumference() {
        return Math.round(2 * Math.PI * radius * 100) / 100.0;
    }

    public double getArea() {
        return Math.round(Math.PI * radius * radius * 100) / 100.0;
    }

    public static void main(String[] args) {
        Circle circle = new Circle(3);
        System.out.printf("周长: %.2f, 面积: %.2f%n", 
            circle.getCircumference(), circle.getArea());
    }
}
